package com.yiyahui.project.erp.service;

import java.util.List;
import com.yiyahui.project.erp.domain.YiyaMarketReservation;

/**
 * 市场建档Service接口
 * 
 * @author yiyahui
 * @date 2020-05-03
 */
public interface IYiyaMarketReservationService 
{
    /**
     * 查询市场建档
     * 
     * @param id 市场建档ID
     * @return 市场建档
     */
    public YiyaMarketReservation selectYiyaMarketReservationById(Long id);

    /**
     * 查询市场建档列表
     * 
     * @param
     * @return 市场建档集合
     */
    public List<YiyaMarketReservation> selectYiyaMarketReservationList(YiyaMarketReservation yiYaMarketRequest);

    /**
     * 新增市场建档
     * 
     * @param yiyaMarketReservation 市场建档
     * @return 结果
     */
    public int insertYiyaMarketReservation(YiyaMarketReservation yiyaMarketReservation);

    /**
     * 修改市场建档
     * 
     * @param yiyaMarketReservation 市场建档
     * @return 结果
     */
    public int updateYiyaMarketReservation(YiyaMarketReservation yiyaMarketReservation);

    /**
     * 批量删除市场建档
     * 
     * @param ids 需要删除的市场建档ID
     * @return 结果
     */
    public int deleteYiyaMarketReservationByIds(Long[] ids);

    /**
     * 删除市场建档信息
     * 
     * @param id 市场建档ID
     * @return 结果
     */
    public int deleteYiyaMarketReservationById(Long id);

    /**
     * 根据ids查询市场建档list
     */
    List<YiyaMarketReservation> selectByIds(List<Long> ids);


    /**
     * 根据ids查询市场建档list
     */
    String getPhoneByIds(String ids);
}
